package cn.iocoder.yudao.module.picturebook.controller.admin.bookshelf.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户书架关联新增/修改 Request VO")
@Data
public class BookShelfSaveReqVO {

    @Schema(description = "书架记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30012")
    private Long id;

    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "16819")
    @NotNull(message = "关联用户不能为空")
    private Long userId;

    @Schema(description = "关联书籍", requiredMode = Schema.RequiredMode.REQUIRED, example = "1622")
    @NotNull(message = "关联书籍不能为空")
    private Long bookId;

    @Schema(description = "书架类型：1-中文，2-英文", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "书架类型：1-中文，2-英文不能为空")
    private Integer shelfType;

}